home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Totally AMOS
/
Totally AMOS - Issue 1 (1991-11)(Tucker, Len - Tucker, Anne).adf
/
source_progs
/
show_faces.AMOS
/
show_faces.amosSourceCode
Wrap
AMOS Source Code
|
1991-09-17
|
2KB
|
77 lines
Rem Piccy shower by Paul Townsend of Technical Fred Software
Rem Rem Written for Totally Amos
Rem This program definatley needs a bit of work doing to it
Rem to make it do something useful
Rem If you do manage to do anything with it, please mention where
Rem you got the original idea from
Rem At the moment it displays all the members of Technical Fred Software
Rem if you click with the mouse on a face it zooms it up to full screen size
Rem for a few seconds and then returns to the main screen
Rem Press SPACE to exit from the main screen
Global Q
Dim POSX(5),POSY(55),A$(5)
For F=0 To 5
Read A$(F),POSX(F),POSY(F)
A$="empty:"+A$(F)+".abk"
Load A$,10
Unpack 10 To F
Erase 10
Next F
Data "paul",35,100
Data "alison",120,210
Data "andrew",225,100
Data "peter",130,100
Data "darren",30,210
Data "martin",230,210
Screen Open 6,320,256,16,Lowres
Flash Off
Curs Off
Cls 0
Get Palette 0
Zoom 0,0,0,320,256 To 6,0,0,100,100
Wait Vbl
Zoom 3,0,0,320,256 To 6,100,0,200,100
Wait Vbl
Zoom 2,0,0,320,256 To 6,200,0,300,100
Wait Vbl
Zoom 4,0,0,320,256 To 6,0,110,100,210
Wait Vbl
Zoom 1,0,0,320,256 To 6,100,110,200,210
Wait Vbl
Zoom 5,0,0,320,256 To 6,200,110,300,210
Wait Vbl
Ink 0
Bar 0,198 To 320,256
Wait Vbl
Bar 0,90 To 320,100
For F=0 To 5
Text POSX(F),POSY(F),A$(F)
Next F
Locate 0,27
Centre("Technical Fred Software")
Locate 0,29
Centre("Click Mouse on a piccy for close up")
Reserve Zone 6
Set Zone 1,0,0 To 100,100 : Rem PT
Set Zone 4,100,0 To 200,100 : Rem PW
Set Zone 3,200,0 To 300,100 : Rem AL
Set Zone 5,0,110 To 100,210 : Rem DE
Set Zone 2,100,110 To 200,210 : Rem AK
Set Zone 6,200,110 To 300,210 : Rem AH
Do
Q=Mouse Zone
TEST=Mouse Key
If(Q<>0) and(TEST) Then Screen To Front Q-1 : Screen Q-1 : Locate 0,0 : INFO : Wait 200 : Screen To Front 6 : Screen 6
Exit If Inkey$=" "
Loop
Fade 10 : Wait 10*15
Edit
Procedure INFO
If Q=1 Then A$="Paul Townsend - Programmer"
If Q=2 Then A$="Alison Kinsey - Language Consultant"
If Q=3 Then A$="Andrew Loheide - Data Entry and Brew Boy"
If Q=4 Then A$="Peter Winnard - Audio Sampler and Programmer "
If Q=5 Then A$="Darren Eckersley - Programmer"
If Q=6 Then A$="Martin Heston - Graphics Artist"
Print A$
End Proc